﻿using Ecommerce.Domain.Dto;
using Ecommerce.Domain.Rabbit;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EcommerceRabbit.Servies.traceability
{
    public interface ITraceServices
    {
        Task<List<Traceability>> GetTraceabilities();
        Task<int> AddTrace(TraceDTO traceDTO);
        Task<List<TraceDTO>> GetTraceDTO(int Tid);
        Task<int> UpdateTrace(TraceDTO traceDTO);
        Task<List<Cultivation>> GetCultivations(int Tid);
        Task<List<Immune>> GetImmunes(int Cid);
        Task<int> AddImmunes(Immune immune);
        Task<List<Enterprise>> GetEnterprises(int Cid);
    }
}
